package com.java.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.java.business.entity.CourseContent;
import com.java.common.dto.SortDto;
import com.java.common.utils.PageUtils;
import com.java.business.entity.Course;
import java.util.Map;

/**
 * 课程
 *
 * @author jl
 * @since 2020-10-07 10:31:35
 */
public interface CourseService extends IService<Course> {

    PageUtils queryPage(Map<String, Object> params);

    void updateTime(String courseId);

    void updateOrSave(Course course);

    CourseContent findContent(String id);

    void saveContent(CourseContent courseContent);

    void sort(SortDto sortDto);
}

